import React, { Component } from 'react'
import Swiper from './Swiper/Swiper'
import SwiperItem from './Swiper/SwiperItem'
export default class App extends Component {
    state = {
        list: [1, 2, 3]
    }
    render() {
        return (
            <div>
                <Swiper>
                    {this.state.list.map(item => <SwiperItem key={item}>{item}</SwiperItem>)}
                </Swiper>
            </div>
        )
    }
}
